package com.cloud.wms.ui.inside.contract;

import com.cloud.core.base.BasePresenter;
import com.cloud.core.base.BaseView;
import com.cloud.wms.ui.inside.entity.ReplenishBindEntity;
import com.cloud.wms.ui.inside.entity.ReplenishCommodityEntity;
import com.cloud.wms.ui.main.entity.BatchEntity;
import com.cloud.wms.ui.main.entity.TaskEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by FC on 2021/3/12.
 * Desc：
 */
public interface ReplenishUpContract {
    interface View extends BaseView {

    }

    interface Presenter extends BasePresenter<ReplenishUpContract.View> {
        void checkBindContainer(long replenishId);

        void loadReplenishCommodity(long replenishId);

        void loadReplenishCommodity(long replenishId, boolean isComplete);

        void confirmReplenishUp(TaskEntity taskEntity,
                                ReplenishBindEntity bindEntity,
                                ReplenishCommodityEntity commodityEntity,
                                int amount,
                                List<BatchEntity> batchEntity);
    }
}
